// 引入react核心库
import React from 'react'
// 引入ReactDOM
// import ReactDOM from 'react-dom' // @17
import ReactDOM from 'react-dom/client'
// 引入APP
import App from './App'

// ReactDOM.render(<App />, document.getElementById('root')) //@17
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <App />
);